# 安装依赖项
yarn

cd tlw
# 备份原有文件
cp ../node_modules/@shd101wyy/mume/out/src/markdown-engine.js ../node_modules/@shd101wyy/mume/out/src/markdown-engine.js.bak
cp ../node_modules/@shd101wyy/mume/out/src/utility.d.ts ../node_modules/@shd101wyy/mume/out/src/utility.d.ts.bak
cp ../node_modules/@shd101wyy/mume/styles/style-template.css ../node_modules/@shd101wyy/mume/styles/style-template.css.bak

# 覆盖修改后的文件
cp markdown-engine.js ../node_modules/@shd101wyy/mume/out/src/markdown-engine.js
cp utility.d.ts ../node_modules/@shd101wyy/mume/out/src/utility.d.ts
cp style-template.css ../node_modules/@shd101wyy/mume/styles/style-template.css

cd ..
vsce package
vsce publish

#TODO 修改表头背景灰色, 字体加粗